package com.heima.model.admin.pojos;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("ad_user")
@Data
public class AdUser {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String password;
    private String salt;
    @TableField("nickname")
    private String nickname;
    private String image;
    private String phone;
    private Integer status;
    private String email;
    private Date loginTime;
    private Date createdTime;
}
